<script src='http://code.jquery.com/jquery-latest.js' type='text/javascript'></script>
<script type="text/javascript">
$.ajax({
	url: "getSources.php",
	dataType: "json"
	}).done(showTable);
	
function showTable(result)
{
	document.write('<table border="1">');
	
	for (key in result.sources)
	{
		document.write('<tr><td>' + result.sources[key].name + '</td><td>' + result.sources[key].url + '</td></tr>');
	}
	
	document.write('</table>');
}
</script>
